#include <stdio.h>

int main() {
	int a, b, m, n;
	scanf("%d %d", &m, & n);
	a = m % n;
	if (a == 0)
		printf ("%d %d", m, n);
	else {
		a = m % 2, b = n % 2;
		if (a == 0)
			printf ("%d:Even\n", m);
		else
			printf ("%d:Odd\n", m);
		if (b == 0)
			printf ("%d:Even", n);
		else
			printf ("%d:Odd", n);
	}
}